package com.qf;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;

/**
 * @author wbzs,
 * @date 2022/10/19,
 * @time 23:07,
 */
@SpringBootApplication
public class UserStartApp {
    public static void main(String[] args) {
        SpringApplication.run(UserStartApp.class, args);

    }


//发起网络请求的工具类
    @Bean
    public RestTemplate restTemplate(){
        return  new RestTemplate();
    }
}
